projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d6bb6
)
(Fwindow_width): Doc fix.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 8 Mar 1994 00:09:03 +0000
(
00:09
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 8 Mar 1994 00:09:03 +0000
(
00:09
+0000)
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 8c64e6c698fe69dd0dbdff0bbaedabe5916e3d01..ac65cf39ea5d9b81aa6d8e787996846507a2703e 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-257,7
+257,10
@@
DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0,
}
DEFUN ("window-width", Fwindow_width, Swindow_width, 0, 1, 0,
- "Return the number of columns in WINDOW.")
+ "Return the number of display columns in WINDOW.\n\
+This is the width that is usable columns available for text in WINDOW.\n\
+If you want to find out how many columns WINDOW takes up,\n\
+use (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))).")
(window)
Lisp_Object window;
{